
class ReadDict(object):

    @staticmethod
    def ReadModelClasses(ClassesName):

        label_dict=dict()
        index = 0
        #读取分类标签
        for label in ClassesName:
            label_dict[label]=index
            index+=1
        return label_dict

